package com.example.javaserve.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.sun.org.apache.xpath.internal.operations.Bool;
import io.swagger.annotations.ApiModel;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.SuperBuilder;

import java.io.Serializable;

/**
 * @projectName: MyGene
 * @package: com.example.mygene.entity
 * @className: User
 * @author: xxXPCSC
 * @description: TODO
 * @date: 2023/11/3 15:34
 * @version: 1.0
 **/
@TableName("user_info")
@ApiModel(value = "用户信息")
@Data
@SuperBuilder
@NoArgsConstructor
@AllArgsConstructor
public class UserBaseInfo implements Serializable {
    @TableId(value = "info_id",type = IdType.AUTO)
    private Long infoId;

    @TableField("info_sex")
    private int infoSex;

    @TableField("info_username")
    private String infoUsername;

    @TableField("info_password")
    private String infoPassword;

    @TableField("info_email")
    private String infoEmail;

    @TableField("info_role")
    private String infoRole;

}
